home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 May (DVD) / Macworld Resource DVD May 2003.toast / Data / Software / Games / JKII_Demo.sit / Jedi Knight II Demo / demo / assets0.pk3 / shaders / bespin.shader next >
Encoding:
Text File  |  2002-03-22  |  17.9 KB  |  954 lines

  1. textures/bespin/sky
  2. {
  3.     qer_editorimage    textures/skies/sky.tga
  4.     q3map_surfacelight    450
  5.     surfaceparm    sky
  6.     surfaceparm    noimpact
  7.     surfaceparm    nomarks
  8.     notc
  9.     q3map_nolightmap
  10.     skyParms    textures/skies/bespin 512 -
  11. }
  12.  
  13. textures/bespin/sky_platform
  14. {
  15.     qer_editorimage    textures/skies/sky.tga
  16.     q3map_surfacelight    250
  17.     surfaceparm    sky
  18.     surfaceparm    noimpact
  19.     surfaceparm    nomarks
  20.     notc
  21.     q3map_nolightmap
  22.     skyParms    textures/skies/bespin 512 -
  23. }
  24.  
  25. textures/bespin/u_tunpipe02
  26. {
  27.     surfaceparm    slick
  28.     surfaceparm    nodamage
  29.     {
  30.         map $lightmap
  31.     }
  32.     {
  33.         map textures/bespin/u_tunpipe02
  34.         blendFunc GL_DST_COLOR GL_ZERO
  35.     }
  36.     {
  37.         map textures/bespin/u_tunpipe02_glw
  38.         blendFunc GL_ONE GL_ONE
  39.     }
  40. }
  41.  
  42. textures/bespin/floor_slick_nodamage
  43. {
  44.     qer_editorimage    textures/impgarrison/floor01.tga
  45.     surfaceparm    slick
  46.     surfaceparm    nodamage
  47.     {
  48.         map $lightmap
  49.     }
  50.     {
  51.         map textures/bespin/basic2
  52.         blendFunc GL_DST_COLOR GL_ZERO
  53.         alphaGen lightingSpecular
  54.     }
  55. }
  56.  
  57. textures/bespin/cortosis
  58. {
  59.     surfaceparm    metalsteps
  60.     surfaceparm    forcefield
  61.     {
  62.         map $lightmap
  63.     }
  64.     {
  65.         map textures/bespin/cortosis
  66.         blendFunc GL_DST_COLOR GL_ZERO
  67.     }
  68. }
  69.  
  70. textures/bespin/u_floor02_nodamage
  71. {
  72.     qer_editorimage    textures/bespin/u_floor02.tga
  73.     surfaceparm    nodamage
  74.     surfaceparm    metalsteps
  75.     {
  76.         map $lightmap
  77.     }
  78.     {
  79.         map textures/bespin/u_floor02
  80.         blendFunc GL_DST_COLOR GL_ZERO
  81.     }
  82. }
  83.  
  84. textures/bespin/windowblue
  85. {
  86.     surfaceparm    metalsteps
  87.     {
  88.         map $lightmap
  89.     }
  90.     {
  91.         map textures/bespin/windowblue
  92.         blendFunc GL_DST_COLOR GL_ZERO
  93.     }
  94.     {
  95.         map textures/bespin/windowblue_glow
  96.         blendFunc GL_ONE GL_ONE
  97.     }
  98. }
  99.  
  100. textures/bespin/u_shaftwall
  101. {
  102.     surfaceparm    metalsteps
  103.     {
  104.         map $lightmap
  105.     }
  106.     {
  107.         map textures/bespin/u_shaftwall
  108.         blendFunc GL_DST_COLOR GL_ZERO
  109.     }
  110.     {
  111.         map textures/bespin/u_shaft_glow
  112.         blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
  113.         detail
  114.     }
  115. }
  116.  
  117. textures/bespin/u_grate
  118. {
  119.     surfaceparm    metalsteps
  120.     {
  121.         map $lightmap
  122.         alphaFunc GE128
  123.     }
  124.     {
  125.         map textures/bespin/u_grate
  126.         alphaFunc GE128
  127.         blendFunc GL_DST_COLOR GL_ZERO
  128.         rgbGen identity
  129.     }
  130. }
  131.  
  132. textures/bespin/u_grate02
  133. {
  134.     surfaceparm    metalsteps
  135.     {
  136.         map $lightmap
  137.         alphaFunc GE128
  138.     }
  139.     {
  140.         map textures/bespin/u_grate02
  141.         alphaFunc GE128
  142.         blendFunc GL_DST_COLOR GL_ZERO
  143.         rgbGen identity
  144.     }
  145. }
  146.  
  147. textures/bespin/u_grate03
  148. {
  149.     surfaceparm    metalsteps
  150.     {
  151.         map $lightmap
  152.         alphaFunc GE128
  153.     }
  154.     {
  155.         map textures/bespin/u_grate03
  156.         alphaFunc GE128
  157.         blendFunc GL_DST_COLOR GL_ZERO
  158.         rgbGen identity
  159.     }
  160. }
  161.  
  162. textures/bespin/u_beam02
  163. {
  164.     cull    disable
  165.     {
  166.         map $lightmap
  167.         alphaFunc GE128
  168.     }
  169.     {
  170.         map textures/bespin/u_beam02
  171.         alphaFunc GE128
  172.         blendFunc GL_DST_COLOR GL_ZERO
  173.         rgbGen identity
  174.     }
  175. }
  176.  
  177. textures/bespin/u_light01
  178. {
  179.     {
  180.         map $lightmap
  181.     }
  182.     {
  183.         map textures/bespin/u_light01
  184.         blendFunc GL_DST_COLOR GL_ZERO
  185.         rgbGen identity
  186.     }
  187.     {
  188.         map textures/bespin/u_lightglow01
  189.         blendFunc GL_ONE GL_ONE
  190.         rgbGen identity
  191.     }
  192. }
  193.  
  194. textures/bespin/u_light02
  195. {
  196.     {
  197.         map $lightmap
  198.     }
  199.     {
  200.         map textures/bespin/u_light02
  201.         blendFunc GL_DST_COLOR GL_ZERO
  202.     }
  203.     {
  204.         map textures/bespin/u_light02glow
  205.         blendFunc GL_ONE GL_ONE
  206.         rgbGen wave sin 1 0.1 0 0.5
  207.     }
  208. }
  209.  
  210. textures/bespin/u_light02a
  211. {
  212.     surfaceparm    metalsteps
  213.     {
  214.         map $lightmap
  215.     }
  216.     {
  217.         map textures/bespin/u_light02a
  218.         blendFunc GL_DST_COLOR GL_ZERO
  219.     }
  220.     {
  221.         map textures/bespin/u_light02aglow
  222.         blendFunc GL_ONE GL_ONE
  223.         rgbGen wave sin 1 0.1 0 0.5
  224.     }
  225. }
  226.  
  227. textures/bespin/u_light03
  228. {
  229.     qer_editorimage    textures/bespin/u_light03
  230.     surfaceparm    metalsteps
  231.     {
  232.         map $lightmap
  233.     }
  234.     {
  235.         map textures/bespin/u_light03
  236.         blendFunc GL_DST_COLOR GL_ZERO
  237.     }
  238.     {
  239.         map textures/bespin/u_light03glow
  240.         blendFunc GL_ONE GL_ONE
  241.         rgbGen wave sin 1 0.1 0 0.5
  242.     }
  243. }
  244.  
  245. textures/bespin/u_light04
  246. {
  247.     {
  248.         map $lightmap
  249.     }
  250.     {
  251.         map textures/bespin/u_light04
  252.         blendFunc GL_DST_COLOR GL_ZERO
  253.     }
  254.     {
  255.         map textures/bespin/u_light04glow
  256.         blendFunc GL_ONE GL_ONE
  257.     }
  258. }
  259.  
  260. textures/bespin/u_hangdoor02
  261. {
  262.     {
  263.         map $lightmap
  264.     }
  265.     {
  266.         map textures/bespin/u_hangdoor02
  267.         blendFunc GL_DST_COLOR GL_ZERO
  268.     }
  269.     {
  270.         map textures/bespin/u_hangdoorglw
  271.         blendFunc GL_ONE GL_ONE
  272.         rgbGen wave sin 0.5 0.3 0 0.5
  273.     }
  274. }
  275.  
  276. textures/bespin/botton_on
  277. {
  278.     {
  279.         map $lightmap
  280.     }
  281.     {
  282.         map textures/bespin/botton
  283.         blendFunc GL_DST_COLOR GL_ZERO
  284.     }
  285.     {
  286.         map textures/bespin/botton_on2
  287.         blendFunc GL_ONE GL_ONE
  288.     }
  289. }
  290.  
  291. textures/bespin/force
  292. {
  293.     surfaceparm    metalsteps
  294.     q3map_nolightmap
  295.     {
  296.         map textures/bespin/force
  297.         blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
  298.         tcMod rotate -4
  299.         tcMod turb 0 0.4 0 1
  300.     }
  301.     {
  302.         map textures/bespin/force
  303.         blendFunc GL_ONE GL_ONE
  304.         tcMod rotate 4
  305.         tcMod turb 0 0.3 0 1
  306.     }
  307. }
  308.  
  309. textures/bespin/u_tube
  310. {
  311.     surfaceparm    metalsteps
  312.     {
  313.         map $lightmap
  314.     }
  315.     {
  316.         map textures/bespin/u_tube
  317.         blendFunc GL_DST_COLOR GL_ZERO
  318.     }
  319.     {
  320.         map textures/bespin/u_tubeglw
  321.         blendFunc GL_ONE GL_ONE_MINUS_SRC_COLOR
  322.         rgbGen wave sin 0.3 0.6 0.2 0.5
  323.     }
  324. }
  325.  
  326. textures/bespin/u_casing03
  327. {
  328.     surfaceparm    metalsteps
  329.     {
  330.         map $lightmap
  331.     }
  332.     {
  333.         map textures/bespin/u_casing03
  334.         blendFunc GL_DST_COLOR GL_ZERO
  335.     }
  336.     {
  337.         map textures/bespin/u_casing03glw
  338.         blendFunc GL_ONE GL_ONE
  339.         rgbGen wave sin 0.3 0.6 0.2 0.5
  340.     }
  341. }
  342.  
  343. textures/bespin/u_shaftwall02
  344. {
  345.     {
  346.         map $lightmap
  347.     }
  348.     {
  349.         map textures/bespin/u_shaftwall02
  350.         blendFunc GL_DST_COLOR GL_ZERO
  351.     }
  352.     {
  353.         map textures/bespin/u_shaft_glow02
  354.         blendFunc GL_ONE GL_ONE
  355.         rgbGen wave sin 0.3 0.6 0.2 0.5
  356.     }
  357. }
  358.  
  359. textures/bespin/clouds
  360. {
  361.     surfaceparm    noimpact
  362.     surfaceparm    nomarks
  363.     surfaceparm    nonsolid
  364.     q3map_nolightmap
  365.     {
  366.         map textures/bespin/clouds
  367.         blendFunc GL_ONE GL_ZERO
  368.         tcMod scroll 0.02 0.04
  369.         tcMod turb 0 0.1 0 0.03
  370.     }
  371. }
  372.  
  373. textures/bespin/n_win01
  374. {
  375. // q3map_surfacelight    500
  376.  
  377.     surfaceparm    nomarks
  378.     polygonOffset
  379.     q3map_nolightmap
  380.     {
  381.         map textures/bespin/n_win01
  382.         alphaFunc GT0
  383.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  384.         rgbGen identity
  385.     }
  386.     {
  387.         map textures/bespin/n_win01glow
  388.         blendFunc GL_ONE GL_ONE
  389.     }
  390. }
  391.  
  392. textures/bespin/n_win02
  393. {
  394. // q3map_surfacelight    500
  395.  
  396.     surfaceparm    nomarks
  397.     polygonOffset
  398.     q3map_nolightmap
  399.     {
  400.         map textures/bespin/n_win02
  401.         alphaFunc GT0
  402.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  403.     }
  404.     {
  405.         map textures/bespin/n_win02glow
  406.         blendFunc GL_ONE GL_ONE
  407.     }
  408. }
  409.  
  410. textures/bespin/n_win03
  411. {
  412. // q3map_surfacelight    500
  413.  
  414.     polygonOffset
  415.     q3map_nolightmap
  416.     {
  417.         map textures/bespin/n_win03
  418.         alphaFunc GT0
  419.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  420.     }
  421.     {
  422.         map textures/bespin/n_win03glow
  423.         blendFunc GL_ONE GL_ONE
  424.     }
  425. }
  426.  
  427. textures/bespin/mp_r_light04
  428. {
  429.     surfaceparm    metalsteps
  430.     {
  431.         map $lightmap
  432.     }
  433.     {
  434.         map textures/bespin/mp_r_light04
  435.         blendFunc GL_DST_COLOR GL_ZERO
  436.     }
  437.     {
  438.         map textures/bespin/mp_r_light04_glow
  439.         blendFunc GL_ONE GL_ONE
  440.     }
  441. }
  442.  
  443. textures/bespin/mp_b_light04
  444. {
  445.     surfaceparm    metalsteps
  446.     {
  447.         map $lightmap
  448.     }
  449.     {
  450.         map textures/bespin/mp_b_light04
  451.         blendFunc GL_DST_COLOR GL_ZERO
  452.     }
  453.     {
  454.         map textures/bespin/mp_b_light04_glow
  455.         blendFunc GL_ONE GL_ONE
  456.     }
  457. }
  458.  
  459. textures/bespin/mp_r_light02a
  460. {
  461.     surfaceparm    metalsteps
  462.     {
  463.         map $lightmap
  464.     }
  465.     {
  466.         map textures/bespin/mp_r_light02a
  467.         blendFunc GL_DST_COLOR GL_ZERO
  468.     }
  469.     {
  470.         map textures/bespin/mp_r_light02a_glow
  471.         blendFunc GL_ONE GL_ONE
  472.     }
  473. }
  474.  
  475. textures/bespin/mp_b_light02a
  476. {
  477.     surfaceparm    metalsteps
  478.     {
  479.         map $lightmap
  480.     }
  481.     {
  482.         map textures/bespin/mp_b_light02a
  483.         blendFunc GL_DST_COLOR GL_ZERO
  484.     }
  485.     {
  486.         map textures/bespin/mp_b_light02a_glow
  487.         blendFunc GL_ONE GL_ONE
  488.     }
  489. }
  490.  
  491. textures/bespin/mp_b_wall04
  492. {
  493.     surfaceparm    metalsteps
  494.     {
  495.         map $lightmap
  496.     }
  497.     {
  498.         map textures/bespin/mp_b_wall04
  499.         blendFunc GL_DST_COLOR GL_ZERO
  500.     }
  501. }
  502.  
  503. textures/bespin/mp_b_casing04
  504. {
  505.     surfaceparm    metalsteps
  506.     {
  507.         map $lightmap
  508.     }
  509.     {
  510.         map textures/bespin/mp_b_casing04
  511.         blendFunc GL_DST_COLOR GL_ZERO
  512.     }
  513.     {
  514.         map textures/bespin/mp_b_casing04_glow
  515.         blendFunc GL_ONE GL_ONE
  516.     }
  517. }
  518.  
  519. textures/bespin/mp_r_casing04
  520. {
  521.     surfaceparm    metalsteps
  522.     {
  523.         map $lightmap
  524.     }
  525.     {
  526.         map textures/bespin/mp_r_casing04
  527.         blendFunc GL_DST_COLOR GL_ZERO
  528.     }
  529.     {
  530.         map textures/bespin/mp_r_casing04_glow
  531.         blendFunc GL_ONE GL_ONE
  532.     }
  533. }
  534.  
  535. textures/bespin/mp_r_wall04
  536. {
  537.     surfaceparm    metalsteps
  538.     {
  539.         map $lightmap
  540.     }
  541.     {
  542.         map textures/bespin/mp_r_wall04
  543.         blendFunc GL_DST_COLOR GL_ZERO
  544.     }
  545.     {
  546.         map textures/bespin/mp_r_wall04_glow
  547.         blendFunc GL_ONE GL_ONE
  548.     }
  549. }
  550.  
  551. textures/bespin/botton2
  552. {
  553.     {
  554.         map $lightmap
  555.     }
  556.     {
  557.         map textures/bespin/botton2
  558.         blendFunc GL_DST_COLOR GL_ZERO
  559.     }
  560.     {
  561.         map textures/bespin/botton2glow
  562.         blendFunc GL_ONE GL_ONE
  563.     }
  564. }
  565.  
  566. textures/bespin/botton2on
  567. {
  568.     qer_editorimage    textures/bespin/botton2
  569.     surfaceparm    metalsteps
  570.     {
  571.         map $lightmap
  572.     }
  573.     {
  574.         map textures/bespin/botton2
  575.         blendFunc GL_DST_COLOR GL_ZERO
  576.     }
  577.     {
  578.         map textures/bespin/botton2glow2
  579.         blendFunc GL_ONE GL_ONE
  580.     }
  581. }
  582.  
  583. textures/bespin/bottondroidopen
  584. {
  585.     qer_editorimage    textures/bespin/bottondroid
  586.     {
  587.         map $lightmap
  588.     }
  589.     {
  590.         map textures/bespin/bottondroid
  591.         blendFunc GL_DST_COLOR GL_ZERO
  592.     }
  593.     {
  594.         map textures/bespin/bottondroidglow
  595.         blendFunc GL_ONE GL_ONE
  596.     }
  597. }
  598.  
  599. textures/bespin/n_light01
  600. {
  601.     surfaceparm    metalsteps
  602.     polygonOffset
  603.     {
  604.         map $lightmap
  605.     }
  606.     {
  607.         map textures/bespin/n_light01
  608.         blendFunc GL_DST_COLOR GL_ZERO
  609.     }
  610.     {
  611.         map textures/bespin/n_light01_glw
  612.         blendFunc GL_ONE GL_ONE
  613.     }
  614. }
  615.  
  616. textures/bespin/bcameraswitch
  617. {
  618.     qer_editorimage    textures/bespin/bcameraswitch
  619.     surfaceparm    metalsteps
  620.     {
  621.         map gfx/effects/decoystatic
  622.         blendFunc GL_ONE GL_ZERO
  623.         rgbGen wave noise 1 0.5 0 5
  624.         tcMod scroll 5 9
  625.         tcMod scale 7 2
  626.     }
  627.     {
  628.         map gfx/effects/decoystatic
  629.         blendFunc GL_ONE GL_ONE
  630.         rgbGen wave noise 1 0.25 -0.5 3
  631.         tcMod scroll -2 -2
  632.         tcMod scale 7 9
  633.     }
  634.     {
  635.         map textures/bespin/bcameraswitch
  636.         blendFunc GL_ONE GL_SRC_ALPHA
  637.     }
  638.     {
  639.         map textures/bespin/bcameraswitchglow
  640.         blendFunc GL_ONE GL_ONE
  641.         rgbGen wave sin 0 1 0 1
  642.     }
  643.     {
  644.         map $lightmap
  645.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  646.     }
  647. }
  648.  
  649. textures/bespin/bswitch
  650. {
  651.     {
  652.         map $lightmap
  653.     }
  654.     {
  655.         map textures/bespin/bswitch
  656.         blendFunc GL_DST_COLOR GL_ZERO
  657.     }
  658.     {
  659.         map textures/bespin/bswitcha
  660.         blendFunc GL_ONE GL_ONE
  661.         rgbGen wave sin 0 1 0 1
  662.     }
  663.     {
  664.         map textures/bespin/bswitchx
  665.         blendFunc GL_ONE GL_ONE
  666.         rgbGen wave sin 1 0.1 0 5
  667.     }
  668. }
  669.  
  670. textures/bespin/bswitchon
  671. {
  672.     qer_editorimage    textures/bespin/bswitch
  673.     surfaceparm    metalsteps
  674.     {
  675.         map $lightmap
  676.     }
  677.     {
  678.         map textures/bespin/bswitch2
  679.         blendFunc GL_DST_COLOR GL_ZERO
  680.     }
  681.     {
  682.         map textures/bespin/bswitchb
  683.         blendFunc GL_ONE GL_ONE
  684.         rgbGen wave sin 1 0.1 0 5
  685.     }
  686. }
  687.  
  688. textures/bespin/botton_off
  689. {
  690.     qer_editorimage    textures/bespin/botton
  691.     surfaceparm    metalsteps
  692.     {
  693.         map $lightmap
  694.     }
  695.     {
  696.         map textures/bespin/botton
  697.         blendFunc GL_DST_COLOR GL_ZERO
  698.     }
  699.     {
  700.         map textures/bespin/botton_on
  701.         blendFunc GL_ONE GL_ONE
  702.         rgbGen wave sin 0 1 0 1
  703.     }
  704. }
  705.  
  706. textures/bespin/clouds_bottom
  707. {
  708.     surfaceparm    metalsteps
  709.     q3map_nolightmap
  710.     {
  711.         map textures/bespin/clouds_bottom
  712.         blendFunc GL_ONE GL_ZERO
  713.         tcMod scroll 0.15 0
  714.     }
  715.     {
  716.         map textures/bespin/clouds_mid
  717.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  718.         tcMod scroll 0.25 0
  719.     }
  720.     {
  721.         map textures/bespin/clouds_top
  722.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  723.         detail
  724.         tcMod scroll 0.55 0
  725.     }
  726. }
  727.  
  728. textures/bespin/door01locked
  729. {
  730.     qer_editorimage    textures/bespin/door01
  731.     surfaceparm    metalsteps
  732.     {
  733.         map $lightmap
  734.     }
  735.     {
  736.         map textures/bespin/door01
  737.         blendFunc GL_DST_COLOR GL_ZERO
  738.     }
  739.     {
  740.         oneshotanimMap 1 textures/bespin/door01lock_glw textures/bespin/door01open_glw 
  741.         blendFunc GL_ONE GL_ONE
  742.     }
  743. }
  744.  
  745. textures/bespin/control01
  746. {
  747.     surfaceparm    metalsteps
  748.     {
  749.         map $lightmap
  750.     }
  751.     {
  752.         map textures/bespin/control01
  753.         blendFunc GL_DST_COLOR GL_ZERO
  754.     }
  755.     {
  756.         map textures/bespin/control01_glw
  757.         blendFunc GL_ONE GL_ONE
  758.     }
  759. }
  760.  
  761. textures/bespin/control02
  762. {
  763.     qer_editorimage    textures/bespin/control02
  764.     {
  765.         map $lightmap
  766.     }
  767.     {
  768.         map textures/bespin/control02
  769.         blendFunc GL_DST_COLOR GL_ZERO
  770.     }
  771.     {
  772.         map textures/bespin/control02_glw
  773.         blendFunc GL_ONE GL_ONE
  774.     }
  775. }
  776.  
  777. textures/bespin/control03
  778. {
  779.     qer_editorimage    textures/bespin/control03
  780.     {
  781.         map $lightmap
  782.     }
  783.     {
  784.         map textures/bespin/control03
  785.         blendFunc GL_DST_COLOR GL_ZERO
  786.     }
  787.     {
  788.         map textures/bespin/control03_glw
  789.         blendFunc GL_ONE GL_ONE
  790.     }
  791. }
  792.  
  793. textures/bespin/control04
  794. {
  795.     qer_editorimage    textures/bespin/control04
  796.     surfaceparm    metalsteps
  797.     {
  798.         map $lightmap
  799.     }
  800.     {
  801.         map textures/bespin/control04
  802.         blendFunc GL_DST_COLOR GL_ZERO
  803.     }
  804.     {
  805.         map textures/bespin/control04_glw
  806.         blendFunc GL_ONE GL_ONE
  807.     }
  808. }
  809.  
  810. textures/bespin/u_carbfloor
  811. {
  812.     {
  813.         map $lightmap
  814.     }
  815.     {
  816.         map textures/bespin/u_carbfloor
  817.         blendFunc GL_DST_COLOR GL_ZERO
  818.     }
  819.     {
  820.         map textures/bespin/u_carbfloor_glw
  821.         blendFunc GL_ONE GL_ONE
  822.     }
  823. }
  824.  
  825. textures/bespin/u_carbfloor02
  826. {
  827.     surfaceparm    metalsteps
  828.     {
  829.         map $lightmap
  830.     }
  831.     {
  832.         map textures/bespin/u_carbfloor02
  833.         blendFunc GL_DST_COLOR GL_ZERO
  834.     }
  835.     {
  836.         map textures/bespin/u_carbfloor02_glw
  837.         blendFunc GL_ONE GL_ONE
  838.     }
  839. }
  840.  
  841. textures/bespin/door01lock
  842. {
  843.     surfaceparm    metalsteps
  844.     {
  845.         map $lightmap
  846.     }
  847.     {
  848.         map textures/bespin/door01lock
  849.         blendFunc GL_DST_COLOR GL_ZERO
  850.     }
  851.     {
  852.         map textures/bespin/door01lock_glw
  853.         blendFunc GL_ONE GL_ONE
  854.         rgbGen wave sin 1 0.05 0 5
  855.     }
  856. }
  857.  
  858. textures/bespin/water1
  859. {
  860.     surfaceparm    metalsteps
  861.     surfaceparm    nonsolid
  862.     surfaceparm    nonopaque
  863.     surfaceparm    water
  864.     surfaceparm    fog
  865.     surfaceparm    trans
  866.     q3map_material    Water
  867.     q3map_nolightmap
  868.     q3map_onlyvertexlighting
  869.     fogparms    ( 0.14902 0.184314 0.494118 ) 512.0
  870.     {
  871.         map textures/bespin/water1
  872.         blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  873.         rgbGen exactVertex
  874.         alphaGen const 0.2
  875.         tcMod scroll 0.005 0.01
  876.         tcMod turb 1 0.01 0 0.1
  877.     }
  878.     {
  879.         map textures/bespin/water1
  880.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  881.         alphaGen vertex
  882.     }
  883.     {
  884.         map textures/bespin/water1c
  885.         blendFunc GL_DST_COLOR GL_ONE
  886.         tcMod scroll -0.005 -0.01
  887.         tcMod turb 1 0.01 0 0.1
  888.     }
  889. }
  890.  
  891. textures/bespin/water2
  892. {
  893.     qer_editorimage    textures/bespin/water1
  894.     surfaceparm    metalsteps
  895.     surfaceparm    nonsolid
  896.     surfaceparm    nonopaque
  897.     surfaceparm    water
  898.     surfaceparm    fog
  899.     surfaceparm    trans
  900.     q3map_material    Water
  901.     q3map_nolightmap
  902.     q3map_onlyvertexlighting
  903.     fogparms    ( 0.113725 0.137255 0.380392 ) 1024.0
  904.     {
  905.         map textures/bespin/water1
  906.         blendFunc GL_ONE GL_ONE_MINUS_SRC_ALPHA
  907.         rgbGen exactVertex
  908.         alphaGen const 0.2
  909.         tcMod scroll 0.005 0.01
  910.         tcMod turb 1 0.03 0 0.3
  911.     }
  912.     {
  913.         map textures/bespin/water1
  914.         blendFunc GL_ONE GL_SRC_ALPHA
  915.         rgbGen exactVertex
  916.         alphaGen const 0.2
  917.         tcMod scroll -0.005 -0.01
  918.         tcMod turb 0 -0.03 0.5 -0.3
  919.     }
  920. }
  921.  
  922. textures/bespin/breakable_grate1
  923. {
  924.     qer_editorimage    textures/kejim/grate02_broke
  925.     surfaceparm    metalsteps
  926.     {
  927.         map textures/kejim/grate02_broke
  928.         alphaFunc LT128
  929.         blendFunc GL_ONE_MINUS_DST_COLOR GL_SRC_ALPHA
  930.         rgbGen identity
  931.     }
  932.     {
  933.         map $lightmap
  934.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  935.     }
  936. }
  937.  
  938. textures/bespin/breakable_grate2
  939. {
  940.     qer_editorimage    textures/kejim/grate02_long_broken
  941.     surfaceparm    metalsteps
  942.     {
  943.         map textures/kejim/grate02_long_broken
  944.         alphaFunc LT128
  945.         blendFunc GL_ONE GL_SRC_ALPHA
  946.         rgbGen identity
  947.     }
  948.     {
  949.         map $lightmap
  950.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  951.     }
  952. }
  953.  
  954.